package com.twt.survey.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.twt.survey.mapper.SurveyMapper;
import com.twt.survey.pojo.Questionnaire;
import com.twt.survey.service.SurveyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SurveyServiceImpl extends ServiceImpl<SurveyMapper, Questionnaire> implements SurveyService {
    @Autowired
    SurveyMapper mapper;

    @Override
    public void insertSure(Questionnaire questionnaire) {
        mapper.insertSur(questionnaire);
    }
}
